package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.dto.ReissueAllDTO;
import com.ayf.payment.game.api.dto.criteria.ReissueAllCriteria;
import com.ayf.payment.game.api.entity.ReissueAllTask;

import java.util.List;

public interface ReissueAllTaskService {

    int save(ReissueAllTask reissueAllTask);

    int update(ReissueAllTask reissueAllTask);

    void delReissueAllTask(ReissueAllTask reissueAllTask);

    ReissueAllTask selectOne(String ratId);

    /**
     * 补发任务查询
     *
     * @param reissue
     * @return
     */
    List<ReissueAllDTO> select(ReissueAllCriteria reissue);

    /**
     * 定时补发任务查询
     *
     * @param reissue
     * @return
     */
    List<ReissueAllTask> selectByTiming(ReissueAllCriteria reissue);
}


